Giter VIP home page Giter VIP logo

docs's People

Contributors

andychow326 avatar axolotl0212 avatar carmenlau avatar chpapa avatar d3rwill3zurmacht avatar fungc-io avatar gitbook-bot avatar hochiw avatar kiootic avatar louischan-oursky avatar nicolaslee2775 avatar roxk avatar rubikium avatar samchan0221 avatar stanleylhs avatar tung2744 avatar

Stargazers

 avatar

Watchers

 avatar

docs's Issues

Add documentation on the role played by Authgear in OAuth and OIDC

Explain to developers who are familiar with OAuth and OIDC and they want to know what Authgear is.


A quote from Terry

  • OIDC has two party: Identity Provider(IdP) and Relying Party(RP)
  • RP is the OAuth client, IdP is the OAuth server
  • Authgear can act as RP to other IdP, e.g. Google, Facebook
  • Authgear can also act as IdP to RPs, e.g. your developed mobile app, website, etc.
  • Basically, Authgear is a identity federation gateway

Document how to edit template

  • Template are written using Go template. The official documentation is the definitive way to learn that. https://golang.org/pkg/text/template/
  • Do not know which template to edit. For example, the developer do not know which template to edit if they want to edit the one-time password code email during primary authentication. How should we present the full list to the developer to let them know available templates for editing? How do we explain the mapping between the name of the template (e.g. forgot_password_email.html) and when the user will receive the rendered template (e.g. the user will receive the email when they claims they forgot their password)

Incorrect instruction in react native android integration guide

<!-- Your application configuration. Omitted here for brevity -->
<application>
  <!-- Other activities or entries -->

  <!-- Add the following activity -->
  <activity android:name="com.authgear.reactnative.OAuthRedirectActivity"
            android:launchMode="singleTask">
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />
                <!-- Configure data to be the exact redirect URI your app uses. -->
                <!-- Here, we are using com.authgear.example://host/path as configured in authgear.yaml. -->
                <!-- NOTE: The redirectURI supplied in AuthorizeOptions *has* to match as well -->
                <data android:scheme="com.authgear.example"
                    android:host="host"
                    android:pathPrefix="/path"/>
            </intent-filter>
  </activity>
</application>

Doc parity

The following are missing for some platform:

  • user profile
    • flutter
    • react native? (already has web tab)
  • Using SDK to call your application server
    • flutter
  • Account deletion
    • iOS
    • Android

Missing API (!)

  • ClearSessionState used in Using SDK to call your application server -> Handle revoked sessions
    • flutter

Enrich the Xamarin SDK guide in docs

The instruction in the quickstart guide is not enough.
A developer should be able to set up a simple login/logout flow and send authenticated requests by ONLY following the quick start guide without looking at the SDK reference.

Please refer to the sections in https://docs.authgear.com/get-started/website

In Get Started:

Add Xamarin code samples to other pages:

Address FAQ for Biometric Login

Answer these in the doc:

  • Will changing/remove/re-enroll invalidate the biometric login key?
  • what exactly are the implications of different BiometricOptions?
  • After enabling biometric, if the device has turned off the biometric setting in device setting level, what would happen?
  • clarify the meaning of isBiometricEnabled

Revise "Setup Application in Authgear" section on SDK Get Started pages

There are a few problems I faced while trying to following the "Setup Application in Authgear" on the following pages, and configure with my app (the internal demo app) for quick try.

  • Xamarin SDK
  • Flutter SDK
  • React Native SDK
  • Android SDK
  • iOS SDK
  • Web SDK

Please try to rewrite the section to resolve the following problems a new dev will face.

Problems:

  1. Step 1: It should start with creating the project and selecting it. Users new to authgear may misunderstand that "Applications" = "Projects" and get confused.
  2. Step 2: "Add Application" is not on the top right corner in the portal
  3. Step 3: What's mean by this is for reference only? What or whose reference? And better to have an example here
  4. Step 4: What's a custom scheme? How should I define it for my project? Since there is no public demo app now, cannot just use a sample URI to plug and play, could reference user to the section teaching how to make this.
  5. Step 4 & 5: The steps for Add URI is unclear, please write in 1 step for each click, e.g. Click XX, Click XX, Back to Applications page, Copy the "Client ID" for later use.
  6. JWT tooltip: Too much unknown terms for new dev to see the tool tip for JWT access token and may get a bit shocked: JWT access token? forward incoming requests, what requests will they be? Authgear "Resolver" Endpoint is another thing? Suggest extracting this tooltip section from the simple step-by-step guide above. If possible please also revise the tooltip to explain or add reference links for the terms.
  7. Suggest adding a screenshot for a correct setup sample.

Screenshot 2022-05-23 at 12 22 33 PM 1

Document how to setup custom domain

  • The most important thing is to tell the developer to update ALL endpoints to the custom domain, including all of their websites, web apps, mobile apps.

Document how to call admin API

  • Download Key and generate JWT
  • The Endpoint and how to access it with JWT
    • /_api/admin/graphql
  • Schema of the GraphQL
  • Accessing the GraphiQL Query builder

Update react native setup doc

Will add prefersSFSafariViewController boolean flag for user to choose using SFSafariViewController. Need to inform user about the pros and cons, and instruct user how to setup deep link with react native

#import <AGAuthgearReactNative.h>
...
- (BOOL)application:(UIApplication *)application
            openURL:(NSURL *)url
            options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options
{
  return [AGAuthgearReactNative application:application openURL:url options:options];
}

Also, update react native async storage dependency.

@react-native-community/async-storage: -> @react-native-async-storage/async-storage

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.