
Start building a keycloak-secured go web app by configuring a new directory, installing go, initializing a module named go cloak server, and linking the go binary to the system path.
Configure a dedicated Go environment using go mods and a PATH profile, update your bash profile, and test package placement with a hello world app.
Create a Keycloak realm and a client application, start the server, and configure the admin console to enable token requests and access to server resources.
Set up the Keycloak login route by configuring the client ID and secret, implement the authorization code grant, and manage redirects and callbacks to obtain access tokens.
Define a Go struct for the access token, marshal token data into it, store it in app variables and SQL structures, then use the token to access a protected resource.
Enhance the page by applying Google fonts, turning the layout into a grid, updating the template, and testing a cleaner interface with login and custom styling.
Sets up a root for systems and a resource server, and defines a client route and an api route to request a systems resource and obtain an access token.
Set up a systems resource endpoint that returns a json array of hosts and ports by extracting and validating a token, then render the results on the client page.
Learn how to extract an access token from headers, body, or query parameters, handle bearer tokens, validate and print errors, and fetch system data using a token-based request flow.
Learn to validate tokens by sending them to the token introspection endpoint on the key store server via a post request with url-encoded form values and headers.
Create a token authentication client on a Keycloak server to validate tokens via introspection, enforce bearer-only access, and verify audiences.
Verify the token audience, configure scopes like profile and email, and validate them before building a custom server and react app.
Install MongoDB community edition on your server, create an admin user, enable authorization, bind to external IP, and test access to support your Go framework and OAuth flow.
Create a modular React front-end by building interface components and context providers with websockets for go and node backends, plus a useInputChange hook for a left-right panel.
Set up a separate node backend so the front-end go client and the node client can talk to the back end, with a new node client folder and package.json.
Develop a websocket server that handles open, close, and messages, logs data, converts array buffers to strings, and progresses toward a login form and center panel.
Explore system login flow by decoding base64 encoded user credentials, implementing a decode-base64 utility, and wiring username and password objects for server authentication and mongo integration.
Generate and store Go public and private keys, write them to files via a config-driven workflow, and implement a JWT-based authentication using a third-party package across Go and Node.
Store JWT tokens on the client, verify them via a new utility, and coordinate WebSocket messages to authenticate users in a Node-backed login flow.
Decode base64 encoded username and password from websocket json messages, then switch on message type to handle token data and prepare for a Mongo database lookup.
Connect a Go websocket server to Mongo by creating a dedicated Mongo package, configuring the Go Mongo driver, and initializing a client to verify the Mongo connection.
Load public and private keys from config, then generate and validate tokens, and dispatch the jwt over the websocket to enable user login.
Learn to implement an Auth0 login flow in a fullstack GoLang and React app, configure redirect and logout URLs, and bind login and logout handlers for testing.
Explore handling access tokens and session data in a fullstack Go and React OAuth flow, including logging in, storing a user JWT in session data, and debugging token validity.
Finish the auth0 front end session by debugging token handling, validating and storing the JWT in state and cookies, and preparing a web sockets connection to the backend.
Verify jwt tokens securely on the server using async verification, check audience and issuer, and extend websocket and api requests with a data field for authenticated access.
Follow the Auth0 GoLang road map to integrate a client front end with a Go server, implement token validation, and request resources via a web socket with validated tokens.
Tailor auth0 token validation for websocket flow in go lang part iii, shifting from rest api patterns to websocket based handling.
Discover how to create Auth0 rules to assign roles such as admin or user, and embed those roles in tokens. Use the resulting permissions in your backend to enforce access.
Create credentials for your web application, note the client id and client secret, and prepare an API key for non-restricted use. Plan to integrate them into your service.
Validate Google OAuth tokens in Go by building a verification package and wiring server-side checks. Use JWT verification to confirm audience and email data from Google tokens.
First we are going to explore setting up a Keycloak server. Second we will configure HTTPS via letsencrypt and Nginx to cancel our Certs. Next well create our own authentication server and resource server in both GoLang and Node. Last we will chop it all up and create a micro Authentication protocol specifically for websockets.