
Learn to install and configure nginx behind Let's Encrypt, create and enable site configurations, proxy Keycloak, set up 80-to-443 redirects, and obtain SSL certificates for secure web traffic.
Install the JDK by running apt-get install after locating the latest openjdk version with apt search, then verify the installation by checking the Java version on Ubuntu 19.10.
download and extract keycloak, rename the folder, and run the standalone server. bind to 0.0.0.0 for external access and set up nginx to proxy requests securely.
Configure engine X to proxy traffic from port 7000 to Keycloak on port 88 behind https. Create an admin user to secure access, then restart services and verify the setup.
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.
Build a self-contained Go web server that serves static content, uses TLS and connects to a Keycloak server, using Gorilla Mux to define routes and run on a configured port.
Create an index template in a templates folder, wire it to the Go template library, render it to a web page, and experiment with passing objects into the template.
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.
Create a user in the Keycloak system with a simple temporary password, then set up the client login using the client id and secret.
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.
Parse code and session state from the OAuth redirect URL, store them in variables with a dedicated handler, and redirect home, illustrating how to build a custom framework.
Learn how to exchange an authorization code for an access token in a Go/React OAuth flow, including crafting POST requests with grant_type, client credentials, and handling the token response.
Practice exchanging an authorization code for an access token in a GoLang React OAuth flow Part II, printing, inspecting tokens, and building a struct to hold access token data.
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.
Demonstrate displaying app session data on a page by wiring a Go server and template, pulling access token, refresh token, and scope from the app state for rendering.
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.
Add logout functionality by wiring a logout route and redirect URL, redirecting users to the logout endpoint and clearing all session data to return to the login state.
Apply a quick fix to the app bar and redirect handling in the fullstack GoLang React OAuth flow, ensuring logon, reauthorization, and token exchange work when returning home.
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.
Implement the systems resource call by adding the authorization bearer token, sending a prepared request, handling errors, unmarshalling JSON into a hive struct, and rendering the results for the UI.
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.
Add and validate scopes in an oauth flow by extracting token claims, decoding encoded segments, and mapping nested token data into a struct to verify scopes and audience.
Learn to decode token claims, validate audiences and scopes, and set up audience validation in a GoLang React OAuth flow, including testing with sample scopes.
Finalize the Keycloak client OAuth isomorphic Go app by validating audiences, wiring the utility functions, and testing the systems; plan to build a custom Go/Node/React implementation of the OAuth flow.
Build framework around the cloth protocol, using Keycloak as an example, to authenticate to a backend, manage users and clients, and implement an implicit grant flow with a React client.
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.
Install and configure the latest node and npm by downloading Linux binaries, extracting, and creating symbolic links to node and npm for use in the project workspace.
Set up a React app structure by creating a src directory with components, fonts, and CSS, wiring an index.html, and integrating Google fonts like Roboto, then prepare npm dependencies.
Learn to scaffold a hello world React app using parcel bundling, configure Babel and environment, secure with Let's Encrypt, install dependencies, and render the React component into the DOM.
Build a two-pane app interface using a grid layout with left and right panes and a responsive menu bar. Style with components, flex rows, and CSS calc for dynamic sizing.
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.
Builds a notes system with three panels—notes, system, and keycloak—toggling visibility via a display prop and styling in React.
Configure messages panel with a right slide-in, using a context to access go messages from websockets, and a toggle for left chevron with sections for go messages and known messages.
Set up go client and node client frontends to fetch and display clients from the back ends, using skeleton components and providers as placeholders while wiring the backend integration.
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.
Launch and run a node-based websocket server by wiring utilities, authorization, and exports, install dependencies, configure ports, and validate readiness with a port scan.
Start by building a node-backed contact system and a React context provider that acts as a web socket client, sharing state across components and managing a heartbeat ready state.
Wrap the main app with a node websocket provider, log connections on open, and send a JSON payload containing an id to the client.
Build a 50/50 system grid to visualize node state via a web socket, wiring system left and right components with context and state hooks to display connection status.
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.
Create a centered system login panel with a two-input form (email/alias and password), manage login state, and send credentials to a node backend.
Advance the system login by wiring username and password through a context-based request function, using base64 and JWT, and prep for Mongo and Go/Node backend verification.
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.
Learn how to wrap a websocket server with a Mongo connection by creating a system object, building a Mongo connection string, and validating the connection.
Generate bcrypt passwords with Go, then store encrypted user data in MongoDB while demonstrating setup, testing, and a practical workflow with Node included in the OAuth flow.
Learn how to query a Mongo collection for a user by email or alias using findOne, verify lowercase credentials, and test login via a system database and web socket setup.
Compare the entered password with the stored hash, handle bad credentials or user not found via web socket, and on success create a JWT payload with a public/private key pair.
Create a Go project setup to generate public and private keys for JWTs in a Go and Node OAuth flow, with config, key certs, and test utilities.
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.
Generate and validate JWTs using public and private keys in a utilities module, including issuer, subject, and audience, then test signing and error handling for user not found.
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.
Nullify the password in the user object before sending responses, ensuring passwords aren’t transmitted from server to client; verify the fix in Node and Go sections.
Build a Go websocket authorization server to power a client-server OAuth flow, with integration to keycloak and gorilla websocket, and define routes and startup.
Wire up a Go context system for the React client, sending a JWT and user over websockets to the Go server, mirroring the Node setup.
Upgrade requests to a WebSocket, create a connection object, and route messages via a Broken data package to clients, optionally attaching a JWT for security.
Explore building a left-system visualizer on the client side that mirrors a Go context via a WebSocket service, syncing left and right panels with a shared toggle and base64 encoding.
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.
Implement a go login using mongodb by querying a user by email or alias, validating the password, and preparing a jwt for authentication.
Load public and private keys from config, then generate and validate tokens, and dispatch the jwt over the websocket to enable user login.
Implement and test JWT token verification over a Go websocket login flow, validating tokens, handling errors, and logging outcomes across client and server.
Create an admin user by inserting a document with fields, set the alias and role to admin, and verify the password is encrypted via test utilities.
Build a user create form in a React Go backend workflow by using a custom input hook and a JWT-verified submit to create users.
Add create user functionality on the server by validating access tokens and JWT, processing user data, and wiring a messaging system for authentication and error logging.
Wire up a cross-context Go and no messages system, display timestamped messages, and auto-close after a few seconds to show errors from web sockets.
Polish off user creation demonstrates hashing passwords, validating unique email or alias, and inserting a new user document into MongoDB with proper error handling and server feedback.
Build a web client creation form with stateful inputs, automated client id and secret, and domain-based rules. Integrate front-end form logic with the backend to create clients.
Set up a web clients collection for the oauth flow, define a client struct with id and secret, and validate against the authorization server.
Configure an implicit flow react client with Keycloak, enabling login and redirect back to the main app. Map scopes and audience to ensure the access token is issued and validated.
Finalize a react implicit flow client by wiring login, session state, and access tokens via OpenID Connect with Keycloak.
Explore Auth0 Node intro and setup to authenticate users in fullstack Go and React apps, including login, logout, and JWT token flows across frontend and backend.
Build an Auth0 login module and wire a class object into the context system with state handling and a provider to enable login.
Apply a quick patch to fix cannot call a class as a function, update the provider's state variable, and add a new function to expose the object to contact system.
Refactor a standalone auth0 context and migrate from an older class-based context to a hook-based, shareable provider, ensuring a single client interface across the app.
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.
explain configuring oauth callbacks and allowed redirect urls for a single-page app, including login and logout flows. demonstrate creating an account and programmatically clearing cache to prevent development login issues.
Learn how to clear cache and cookies to simulate new Auth0 client accounts, using a logout flow, JWT handling, and OpenID providers for development testing.
Detect the access token in the redirected URL after login, handle authentication with a dedicated function, and update session data stored in cookies while cleaning up the URL.
Follow the asynchronous flow to verify the access token from cookies, update the client session, and handle token verification with the auth object and jwt checks.
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.
Polish off the Auth0 flow by ensuring the login function receives the correct parameters and a defined user object, then use the access token to connect to the web socket.
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.
Implement logout with the on-click flow from the system view, verify the third-party authentication token (JWT) on the back end, and explore where roles appear in the token.
Set up an Auth0 login rule and a backend websocket route to handle JWT verification for a note app, then connect client and server sides to use the websocket.
Test an auth0 secured websocket route by wiring frontend state to a backend websocket, authenticate with a JWT, and observe the connection flow and query parameter extraction.
Execute a minor essential refactor to pass a jwt as a slash-based query parameter on a websocket route, parse the GET parameter index 0, and validate data on the server.
Log in triggers a websocket connection and the flow verifies an auth token in server utilities, validating token data on the server and enabling protected resource access.
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.
Create a new go package for testing, separated from utilities and config, and scaffold an authorized package using go modules with a go path approach.
Test login and call a protected resource using auth0 in Go, then implement token validation and wire it into WebSocket communication to protect output.
Tailor auth0 token validation for websocket flow in go lang part iii, shifting from rest api patterns to websocket based handling.
Learn to validate an Auth0 token in Go by wiring a package, validating audience and issuer, handling token checks, and preparing the token validation flow for a web socket application.
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.
Learn to implement Google OAuth as an identity provider in a React app, install the Google login package, and configure a client ID while navigating the Google Developer Console.
Create a Google Cloud Platform project, configure an internal app, complete the consent screen, verify domains, and locate the api key and client id for integration.
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.
demonstrating google oauth login with go context, creating and exporting google login and logout functions, wiring them in the system, and debugging redirect mismatch.
Edit the Google developers console credentials for the client ID, add authorized javascript origins and redirect URIs, then reload and test the login flow to resolve origin not whitelisted errors.
Clear cookies and local storage to remove old Google data, then log in to obtain an access token. Verify the token on the server and store the user profile.
Learn how to handle Google OAuth tokens in the frontend: decode and store the Google JWT in local storage, validate the token on the server, and gate resource access.
Verify the Google OAuth token by checking the previous token in local stores, initialize loading, and implement a login/logout flow to manage user state.
Implement Google OAuth login and logout, clear local storage, and update the user state; then send the token to the server for verification in Go Ling.
Add a test token button to send the Google OAuth access token to the server, route through a JWT flow, and validate the token to inform the client.
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.