“Labu Oneid” Kode Jawaban

Labu Oneid

from flask_oneid import OneID
from flask import *
def create_app():
    oneid = OneID()
    app = Flask(__name__)
    app.config.from_pyfile('config.py')
    oneid.init_app(app)
    
    @app.route("/", methods=['GET'])
    def index():
        return "Hello World"
    
    return app

app = create_app()

if __name__ == "__main__":
    app.run(debug=True)
ODILKHON MUKHTORKHUJAEV

Labu Oneid

ONEID_LOGIN = "your login"
ONEID_PASSWORD = "your pasword"
ONEID_URL = "url from OneID" # defaul https://sso.egov.uz/sso/oauth/Authorization.do
ODILKHON MUKHTORKHUJAEV

Jawaban yang mirip dengan “Labu Oneid”

Pertanyaan yang mirip dengan “Labu Oneid”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya