🔑
User and Auth System
  • Design for the Auth System
  • Implementation of the Auth System
  • How to set up the Keycloak for Greenstand
  • Treetracker permission system
Powered by GitBook
On this page

Implementation of the Auth System

  • The web map dashboard

    The dashboard running on the web map client/website, the goal for this one is to manage some features that heavily related to the map operation, an immediate demand is the theme customization for the web map.

    • The resources:

      • map-them-customization : the feature to customize the theme, appearance of the web map.

        scope:

        • view : to be able to check the theme of the map

        • edit : to be able to edit the theme of the map.

    • The role:

      • Organization-manager

      • Organization-operator

    • The Group:

      • Freetown

      • Fxion

    • The client

      • Web map client

      • Web-map-config-service

Authentication with Social Media

The first step is to click on identity providers, there'll be a dropdown of possible social media platforms to be integrated

Clicking on one of them should bring you to the page below, the key items here are the client id and client secret. You will get this from the social media platform (dev/app options). In this case, I clicked on Facebook

For facebook you go to developer.facebook.com (or settings -> developer settings -> Oauth apps -> new oauth app )

Once the app has been created on facebook, and you can see your dashboard, you click on app settings -> basic, you should see your client id and client secret. Then you click on facebook login -> settings and then you can paste your redirect uri gotten from keycloak.

PreviousDesign for the Auth SystemNextHow to set up the Keycloak for Greenstand

Last updated 1 year ago