The Oklahoma House has advanced legislation to comply with federal identification card rules set to trigger this summer.

By giving residents the option of getting an identification card or driver's license that meets Real ID standards, the state would ensure residents' ability to visit military bases and U.S. government buildings.

Homeland Security has also warned noncompliant states like Oklahoma that residents could be barred from boarding commercial flights once the restrictions are fully implemented next year unless they possess a card that meets security standards proposed more than a decade ago.

The federal government has given Oklahoma lawmakers until the end of session to adopt Real ID, and House Appropriations Chair Leslie Osborn said Homeland Security will grant another extension to implement the law if it's signed by Gov. Mary Fallin.