0.3.0 • Published 5 years ago
office-login-button v0.3.0
Login-Office-Button
Introduction
This react component is a simple button which will redirect you to the office login app with the parameters needed passed as props
Props parameters
These are the available parameters
- name : The text to display inside the button
- client : The client id of your application
- tenant : The tenant id of your organization (if your application is multi-tenant, use "common")
- redirect : The URL where you want Office to redirect after a successful login
- scopes : The scopes you want to add to your request (eg : "offline_access openid")
- responseType : The type of response you wish for (eg : "token if you want an access token")
- responseMode : The mode of the response you wish for (eg : "query")
Example
An example is available in the example directory