<< < 27 28 29 30 31 32 33 >   Sort: Date

Generating JSON Strings in Pretty Format
How to generate JSON strings in pretty format using json.dumps()? You can control the JSON output string format with "indent", "separators" and "sort_keys" arguments of the json.dumps() function: Here is a Python example that generates a pretty formatted JSON string with property keys sorted: &g...
2018-10-08, 225👍, 0💬

OpenID Connect Authentication Flows
Where to find tutorials on OpenID Connect Authentication Flows. Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on OpenID Connect Authentication Flows. Components Involved in OpenID Connect Authentication What Are Authentication Flows OpenID Conne...
2019-01-20, 223👍, 0💬

What Is Python Module 'sys'
What Is Python module "sys"? "sys" is a Python internal module that provides access to some variables used or maintained by the interpreter and to functions that interact strongly with the interpreter. Here are some important properties and functions provided by the "sys" module: &gt;&gt;&am...
2018-11-11, 223👍, 0💬

Printing Python Engine Information
How to print out Python engine information? Here is a Python example on how to print out Python engine information: &gt;&gt;&gt; import sys &gt;&gt;&gt; sys.getwindowsversion() sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1') &...
2018-11-11, 220👍, 0💬

'json' Module - JSON Encoder and Decoder
Where to find tutorials on Python "json" Module? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on Python "json" Module. What Is Python Module 'json' json.dumps() - Dumping Object into JSON Generating JSON Strings in Pretty Format Dumping JSON Ou...
2018-10-13, 217👍, 0💬

Sending an HTTP Request with 'requests'
How to send an HTTP request? I have the "requests" module installed now. The "requests" module provides 6 static functions to support 6 HTTP request types: &gt;&gt;&gt; r = requests.get(url) &gt;&gt;&gt; r = requests.post(url, data = {'key':'value'}) &gt;&gt;&gt; ...
2018-09-01, 217👍, 0💬

Access Token Response Received from Google OpenID Connect
How to process the access token response received from Google OpenID Connect service? After Google OpenID Connect service receives an access token request from your Web server script, it will process the request and returns the access token response directly. In order for your Web server script to p...
2019-02-05, 215👍, 0💬

'urllib' Module - Internet Communication
Where to find tutorials on Python "urllib" Module? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on Python "urllib" Module. What Is Python Module 'urllib' Sending an HTTP Request with 'urllib.request' http.client.HTTPResponse Objects HTTP POST w...
2018-09-24, 213👍, 0💬

Accessing the HTTP Request Object
How to access the HTTP request from the HTTP response object? I want to see what was actually delivered to the server. To see what was actually delivered to the server, you can take the "request" property of the response object: &gt;&gt;&gt; r = requests.post() &gt;&gt;&gt; q...
2018-08-14, 213👍, 0💬

Google OpenID Connect Access Token Request
What is the Google OpenID Connect Access Token Request? If you want to implement the authentication code flow, also called server flow, to integrate your application with Google OpenID Connect, you need to have a good understanding of the Google OpenID Connect access token request, which is the seco...
2019-02-05, 211👍, 0💬

Dumping JSON Output to File
How to dump (or encode, serialize) a Python object into file or an output stream as a JSON string using json.dump()? json.dump(o,fp,...) function performs the same job as json.dumps(o,...) except that it directs the JSON string to the output stream of a given file pointer. Here is a Python example t...
2018-10-08, 211👍, 0💬

Process Google OpenID Connect Access Token Request
How to the Google OpenID Connect access token Request is process by Google OpenID Connect service? When Google OpenID Connect service receives an access token Request from a Web server, it will: Verify if the "client_id" value in the request is valid. If not, display an error message page to the end...
2019-02-05, 209👍, 0💬

Validate Google OpenID Connect id_token Signature
How to validate the id_token signature received from Google OpenID Connect authentication response? You can try to validate the "id_token" signature with your own code logic in these steps: 1. Take out the "kid" value from "Header" component of the "id_token". This will be used to identify the publi...
2019-02-05, 204👍, 0💬

What Is Python Module 'json'
What Is Python module "json"? "json" is a Python internal module that allows to encode and code JSON strings. Here are some important properties and functions provided by the "json" module: &gt;&gt;&gt; import json &gt;&gt;&gt; json.dumps() # serializes a given object into a ...
2018-10-13, 204👍, 0💬

Initiate Google OpenID Connect Access Token Request
How to initiate Google OpenID Connect Access Token Request? The Google OpenID Connect Access Token Request should be initiated from your application Web server. This is why the authentication code flow is more secure than the implicit flow, because the "id_token" value will be received by Web server...
2019-02-05, 202👍, 0💬

What Is Python Module 'urllib'
What Is Python module "urllib"? "urllib" is a Python internal module that allows you to communicate with Internet resources that are represented by URLs. Two main Internet protocols are supported: HTTP and FTP. The current version of "urllib" module is divided into 4 sub-modules: urllib.request - fo...
2018-09-24, 202👍, 0💬

Register Azure AD B2C Application
How to register my application as an Azure AD B2C application in my Azure AD B2C account? If you want to register an application as an Azure AD B2C application in your Azure AD B2C account, your application should be: Able to allow users who are members and their identities are managed locally in th...
2019-03-08, 197👍, 0💬

Integration with Azure AD B2C User Flow
How to integrate your application with a user flow defined as a policy in my Azure AD B2C directory? After you have tested your user flow policy in your Azure AD B2C directory, you need to gather required information and integrate your application to the user flow. 1. Metadata document - Open the us...
2019-02-18, 195👍, 0💬

Requirements to Add External Identity Providers
What are requirements to add external identity providers? I want to allow users from Google or Facebook to login to my application. Azure AD B2C acts as a proxy of other external identity providers. Currently, it supports the following identity providers: Micorsoft - Microsoft personal cloud logins ...
2019-03-08, 190👍, 0💬

Azure AD Integration v1.0
Where to find tutorials on Azure AD Integration v1.0? Here is a list of tutorials to answer many frequently asked questions compiled by FYIcenter.com team on Azure AD Integration v1.0. Authentication Flows with Azure AD v1 Azure AD v1 OpenID Metadata Document Azure AD v1 Sign-On Authentication Reque...
2019-02-18, 189👍, 0💬

Test Azure AD B2C User Flow
How to test a user flow defined as a policy in my Azure AD B2C directory? After you have defined a user flow in a policy in your Azure AD B2C directory, you can test it before you connect it to your application. 1. Sign in to the Azure portal as the global administrator of your Azure AD B2C tenant. ...
2019-02-18, 189👍, 0💬

Add Google as Identity Provider on Azure AD B2C
How to add Google as an identity provider to my Azure AD B2C account? I have registered Azure AD B2C as a Google client application. After you have registered Azure AD B2C as a Google client application, and recorded the "Client ID" and "Client Secret", you can now add Google as an identity provider...
2019-03-08, 188👍, 0💬

Azure AD B2C "id_token" from Google
Where to find an Azure AD B2C "id_token" example from Google as an external identity provider? Here is an Azure AD B2C "id_token" example from Google as an external identity provider: Header: { "typ": "JWT", "alg": "RS256", "kid": "X5eXk4xyojNFum1kl2Ytv8dlNP4-c 57dO6QGTVBwaNk"} Claims: { "exp": 1547...
2019-02-18, 188👍, 0💬

Register Azure AD B2C as a Google Application
How to register Azure AD B2C as Google client application? I want Google users to be able to login to my Azure AD B2C applications. If want Google users to be able to login to your Azure AD B2C applications, you need to register Azure AD B2C as Google client application: 1. Sign in to the Google Dev...
2019-03-08, 181👍, 0💬

<< < 27 28 29 30 31 32 33 >   Sort: Date